﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Model.RF.QuantityInfo
{
    public class Department_PRInfo
    {
        private decimal quantity;
        private int total;
        private int element;
        private string dayTime;
        private string department;
        private string userID;
        private string userName;


        public Department_PRInfo() { }

        //以下为按车间统计使用
        public Department_PRInfo(string department, string dayTime, decimal quantity, int total, int element)
        {
            this.department = department;
            this.dayTime = dayTime;
            this.quantity = quantity;
            this.total = total;
            this.element = element;
        }

        public Department_PRInfo(string department, string userID, string userName, string dayTime, decimal quantity, int total, int element)
        {
            this.department = department;
            this.userID = userID;
            this.userName = userName;
            this.dayTime = dayTime;
            this.quantity = quantity;
            this.total = total;
            this.element = element;
        }

        public Department_PRInfo(string userID, string userName, string dayTime, decimal quantity, int total, int element)
        {
            this.userID = userID;
            this.userName = userName;
            this.dayTime = dayTime;
            this.quantity = quantity;
            this.total = total;
            this.element = element;
        }

        public decimal Quantity { get { return quantity; } set { quantity = value; } }
        public int Total { get { return total; } set { total = value; } }
        public int Element { get { return element; } set { element = value; } }
        public string DayTime { get { return dayTime; } set { dayTime = value; } }
        public string Department { get { return department; } set { department = value; } }
        public string UserID { get { return userID; } set { userID = value; } }
        public string UserName { get { return userName; } set { userName = value; } }
    }
}
